//
//  GlobalTabel.h
//  GYVVUser
//
//  Created by LGSC on 2018/4/25.
//  Copyright © 2018年 gongyou04. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GlobleHeaderView.h"
#import "NoDataBtnView.h"


@interface GlobalTabel : UITableView<TryAgainViewDelegate,UIScrollViewDelegate,NoDataBtnViewDelegate>
{
    UIAlertView *LG_alertview;
    BOOL is_loading;
    GlobleHeaderView *my_header;
}
/**
 * 是否显示 喂喂打工,天下没有白打的工 的标题
 */
@property(assign, nonatomic) BOOL show_header;
@property(strong, nonatomic) MBProgressHUD *HUD;
@property(strong,nonatomic) TryAgainView *errorView;
@property(strong,nonatomic) NoDataView *NoResult;
@property(strong,nonatomic) NoDataBtnView *NoDataBtnView;
/**页面暂无数据的文案 不设置时显示暂无数据**/
@property (nonatomic,strong)NSString *NodataStr;

//加载时loading
-(void)ShowLoading;
-(void)HideLoading;
-(BOOL)isLoadingNow;

//提示类信息
-(void)ShowNewMsg:(NSString*)str;
-(void)ShowV3Msg:(NSString*)str;
-(void)LGShowMsg:(NSString*)str time:(int)time;
-(void)ShowNoDataView:(UIView *)view Orgin:(CGFloat)Y;
-(void)HideNoDataView;
-(void)ShowerrorView:(UIView *)view Orgin:(CGFloat)Y;
-(void)HideerrorView;
-(void)ShowV3Msg:(NSString *)str title:(NSString *)title buttonTitle:(NSString *)btntitle;

-(void)ShowNoDataBtnView:(UIView *)view Orgin:(CGFloat)Y Title:(NSString *)Title BtnTitle:(NSString *)BtnTitle;
-(void)ShowNoDataBtnView1:(UIView *)view Orgin:(CGFloat)Y Title:(NSString *)Title BtnTitle:(NSString *)BtnTitle;
-(void)HideNoDataBtnView;
@end
